package cn.eonshine.cuba.inf.modular.log.service;

import java.util.Date;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import cn.eonshine.cuba.inf.common.http.Message;
import cn.eonshine.cuba.inf.modular.log.entity.Log;

public interface ILogService extends IService<Log> {
	
	public IPage<Log> searchList(IPage<Log> page, String condition, String logTypeId);

	public Log selectDetail(String infLogId);

	public void deleteByOne(String infLogId);
	
	public void insertLog(Message message,String uuid,String infName, int count, String exceptions, String logTypeId);

	public IPage<Log> selectCleanLogList(Page<Log> page, Date lastEndDays);
}
